import request from "@/api/request"

export function verifyPicture(){
    return request({
        method: 'get',
        url: '/api/login/verificationPicture',
        responseType: "blob",
    });
}

export function login(data){
    return request({
        method: 'post',
        url: '/api/login/login',
        data: data,
    }).then((token) => {
        window.localStorage.setItem("token",token?.data || "");
    })
}
